libxc: make xc_memory_op library private
authorIan Campbell <ian.campbell@citrix.com>
Mon, 18 Oct 2010 16:35:59 +0000 (17:35 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 18 Oct 2010 16:35:59 +0000 (17:35 +0100)
commit35e135f116d77823e960671db82ca667f125d617
tree991c3aa7f22952398f8f9799e9432e888e2ca9ec
parent932b3645d2c3d0d105c2dc0a3a8191bad606c48f
libxc: make xc_memory_op library private

Now that all XENMEM_* callers go via an op specific function make
xc_memory_op private to libxc (and rename to do_memory_op for
consistency with other private functions).

Also change the interface to take a size parameter so that
do_memory_op knows how much memory to lock for the top-level argument,
removing some of the introspection.

[ Compatibility note: this breaks qemu-xen before 706bc8c588cb ]

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/libxc/xc_domain.c
tools/libxc/xc_private.c
tools/libxc/xc_private.h
tools/libxc/xenctrl.h